/*
*    Phantom v2.0 GUI Automation Software
*    Copyright (C) 2009  John C. Van Arsdall (john@phantomtest.com)
*
*    This program is free software; you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation; either version 2 of the License, or
*    (at your option) any later version.
*
*    This program is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License along
*    with this program; if not, write to the Free Software Foundation, Inc.,
*    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
#pragma once


// COptionsDlg dialog

#define OPTIONS_FILE ".\\agent_options.dat"

#define OPT_LISTEN_PORT        "LISTEN_PORT"
//#define OPT_MIN_AGENT_PORT     "MIN_AGENT_PORT"
//#define OPT_MAX_AGENT_PORT     "MAX_AGENT_PORT"
//#define OPT_MAX_CONNECTIONS    "MAX_CONNECTIONS"
//#define OPT_USE_SSL            "USE_SSL"
//#define OPT_SSL_KEY            "SSL_KEY"
#define OPT_HIDE_AGENT           "HIDE_AGENT"
#define OPT_SAVE_LOG           "SAVE_LOG"
#define OPT_SAVE_LOG_FILE      "SAVE_LOG_FILE"
#define OPT_REG_KEY            "REG_KEY"

#include "PhantomAgentDlg.h"
class COptionsDlg : public CDialog
{
	DECLARE_DYNAMIC(COptionsDlg)

public:
	COptionsDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~COptionsDlg();

// Dialog Data
	enum { IDD = IDD_OPTIONS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	//afx_msg void OnBnClickedOptUseSsl();
	virtual BOOL OnInitDialog();
	CPhantomAgentDlg* pW;
	int InitializeOptions(void);
	int SaveOptions(void);
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedOptSaveLog();
  //afx_msg void OnBnClickedOptSaveLog2();
};
